import React from 'react';
import { HashRouter, Route, Link } from 'react-router-dom';

export default class Home extends React.Component {
  render() {
    return (
        <HashRouter>
          <div>
        main     
        <li>
              <Link to="/a/home/test-id">嵌套路由1</Link>
              <Link to="/a/home/456">嵌套路由2</Link>
            </li>

        <hr/>
        {this.props.children}
          </div>
        </HashRouter>
      )
  }
}